package cn.wx.read.core.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import cn.wx.common.persistence.base.BaseController;
/*import org.springframework.beans.factory.annotation.Autowired;

import cn.wx.read.core.service.ScholarFosService;*/
import cn.wx.common.persistence.web.ResponseData;
/**
 *   @description : ScholarMaxData 控制器
 *   ---------------------------------
 *   @author  
 *   @since 2018-11-13
 */
@RestController
@RequestMapping("/scholar")
public class CoreController extends BaseController {

/*    @Autowired
    private ScholarFosService scholarFosService;
*/
    @RequestMapping(value = "/writeFosToRedis", method = RequestMethod.POST)
    public ResponseData writeFosToRedis() throws Exception {
    	//scholarFosService.writeFosToRedis();
        return success();
    }

}